$colorRed: #ff5151;
$colorGreen: #3fa93f;
$colorBlue: #2299d5;
$colorGray: #9b9b9b;
.lotteryHead {
  padding: 10px 15px;
}

.lotteryHeadMain {
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  height: 140px;
  overflow: visible;
}

.lotteryHeadLeft {
  width: 35%;
  min-width: 365px;
  height: 160px;
  float: left;
  border-right: 1px dashed #dcdcdc;
}

.lotteryHeadLogo {
  width: 130px;
  height: 130px;
  margin-left: 10px;
  background-color: #eee;
  border-radius: 0 0 50% 50%;
  overflow: hidden;
  position: relative;
  img {
    width: 110px;
    border-radius: 50%;
    position: absolute;
    left: 10px;
    top: 10px;
  }
}

.lotteryHeadText {
  padding: 10px;
  flex: 1;
  h1 {
    font-size: 30px;
    height: 40px;
    line-height: 40px;
    margin-bottom: 5px;
    text-align: center;
  }
  section {
    text-align: center;
    p {
      display: inline-block;
      font-size: 14px;
      span {
        color: $colorRed;
        font-family: Arial;
      }
    }
  }
}

.lotteryPlayTab {
  height: 30px;
  width: 208px;
  margin: 10px auto;
  line-height: 30px;
  clear: both;
  font-size: 12px;
  border: 1px solid #dadada;
  border-radius: 15px;
  box-shadow: 1px -1px 2px 3px #f2f2f2;
  span {
    cursor: pointer;
    display: inline-block;
    text-align: center;
    width: 98px;
    color: #888;
    height: 28px;
    line-height: 28px;
    background: #fcfcfc;
    border-radius: 15px;
    font-size: 12px;
    float: left;
  }
  .active {
    color: #fff;
    height: 28px;
    width: 108px;
    background-color: $colorRed;
    font-size: 12px;
    display: block;
  }
}

.lotteryHeadCont {
  width: 25%;
  min-width: 280px;
  height: 140px;
  float: left;
  border-right: 1px dashed #dcdcdc;
  .lotContMain {
    padding: 10px;
  }
  .stopSale{
    width: 100%;
    height: 100%;
    padding-bottom:5px;
    img{
      width: auto;
      height: 100%;
      margin: 0 auto;
    }
  }
}

.lotContTitle {
  font-size: 16px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  color: #666;
  margin-bottom: 3px;
  p {
    padding-right: 15px;
    line-height: 30px;
    margin-top: 18px;
  }
}

.lotContTime {
  text-align: center;
  .bgNum {
    width: 68px;
    height: 68px;
    text-align: center;
    font-size: 60px;
    display: inline-block;
    background: #2e2c2c;
    border-radius: 12px;
    font-family: 'HansHandItalic';
    //font-weight: 700;
    position: relative;
    span {
      float: left;
      color: #fff;
      line-height: 52px;
      font-family: 'HansHandItalic';
    }
    span:first-child {
      margin-left: 1px;
    }
  }
  .interval {
    display: inline-block;
    width: 15px;
    color: #30343e;
    font-size: 44px;
    text-align: center;
    position: relative;
    top: -20px;
    left: 0;
  }
}

.lotHeadRight {
  padding: 10px;
  position: relative;
  height: 140px;
}

.lotContList {
  text-align: center;
  padding-top: 10px;
  p {
    display: inline-table;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: $colorRed;
    font-size: 26px;
    line-height: 46px;
    text-align: center;
    color: #f6f6f6;
    margin-right: 12px;
    transition: all .2s linear;
  }
  &.happyBJ8{
    max-width:416px;
    margin: 0 auto;
  }
  //pc蛋蛋
  .pcVeryCls {
    margin: 0 15px;
    overflow: visible;
    position: relative;
  }
  .pcVeryCls:after {
    content: '+';
    position: absolute;
    right: -25px;
    top: 0;
    font-size: 24px;
    color: $colorRed;
  }
  .pcVeryCls:nth-of-type(3):after {
    content: '=';
  }
  .pcVeryCls:last-of-type:after {
    content: '';
  }
  //北京pk10
  .bjPkTen {
    width: 28px;
    height: 28px;
    line-height: 28px;
    font-size: 18px;
    font-family: Arial;
    border-radius: 3px;
    margin: 0 4px;
  }
  //北京快乐8
  .happyBJ {
    width: 26px;
    height: 26px;
    line-height: 26px;
    font-size: 16px;
    margin: 2px 6px;
  }
  //江苏快三
  .fastThreeCls {
    width: 35px;
    height: 35px;
    border-radius: 3px;
  }
  //快乐六合彩
  .lotteryCQ {
    p {
      width: 40px;
      height: 40px;
      position: relative;
      //display: inline-block;
      font-size: 18px;
      line-height: 30px;
      margin: 0 3px;
      &:last-of-type {
        margin-left: 20px;
        overflow: visible;
      }
      &:last-of-type:after {
        content: '+';
        position: absolute;
        left: -18px;
        top: 5px;
        color: #333;
        font-size: 20px;
      }
      span.theZod {
        position: absolute;
        bottom: -5px;
        left: 0;
        font-size: 12px;
        width: 100%;
        display: block;
        text-align: center;
      }
    }
  }
  .blue {
    background: $colorBlue;
  }
  .red {
    background: $colorRed;
  }
  .green {
    background: $colorGreen;
  }
  .gray {
    background: $colorGray;
  }
}

.lotHeadBtn {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 23px;
  height: 140px;
  font-size: 12px;
  text-align: center;
  p {
    color: #333;
    height: 70px;
    padding: 8px 4px 0 4px;
    background-color: #f1f1f1;
    cursor: pointer;
  }
  p.active {
    background-color: $colorRed;
    color: #fff;
  }
}

.lotteryHeadRight {
  width: 39.5%;
  max-width: 449px;
  float: right;
  overflow: visible;
  .ruleAndChartBox {
    position: absolute;
    left: 50%;
    top: -13px;
    transform: translateX(-50%);
    height: 25px;

    p {
      display: inline-block;
      padding:6px 10px;
      padding-left: 30px;
      font-size: 12px;
      line-height:14px;
      cursor: pointer;
      font-family: 微软雅黑;
      background: #f5f5f5;
      border-radius: 30px;
      &:last-child {
        margin-right: 0;
      }
      &:hover {
        background: #ff5151;
        color: #fff;
      }
    }

  }
}

.lotHeadMun {
  section {
    line-height: 22px;
    padding: 1px 0;
    font-size: 12px;
    justify-content: center;
    &.datePayFle8 {
      padding: 8px 0;
    }
    .date {
      color: $colorRed;
      font-family: Arial;
    }
    .datePay8 {
      width: 255px;
    }
    .disNum {
      span {
        display: inline-block;
        width: 19px;
        height: 19px;
        font-size: 13px;
        line-height: 17px;
        border-radius: 50%;
        text-align: center;
        margin-right: 6px;
        color: #515151;
        font-weight: 600;
        box-shadow: 1px 1px 1px grey;
        margin-bottom: 1px;
      }
      &.happyBJ8{
        max-width:450px;
      }
    }
    //pc蛋蛋 加拿大28
    .disNumPcVery {
      span {
        background: $colorRed;
        box-shadow: none;
        color: #fff;
        font-weight: normal;
        margin-right: 15px;
        overflow: visible;
        position: relative;
        &:after {
          content: '+';
          position: absolute;
          right: -12px;
          top: 0;
          font-size: 14px;
          color: $colorRed;
        }
        &:nth-of-type(3):after {
          content: '=';
        }
        &:last-of-type:after {
          content: '';
        }
        &.blue {
          background: $colorBlue;
        }
        &.red {
          background: $colorRed;
        }
        &.green {
          background: $colorGreen;
        }
        &.gray {
          background: $colorGray;
        }
      }
    }
    //北京pk10
    .lotBJpk10 {
      span {
        border-radius: 2px;
        background: $colorRed;
        color: #fff;
        box-shadow: none;
      }
    }
    //江苏快三
    .fastThree {
      span {
        border-radius: 0;
        height: 10px;
        box-shadow: none;
        img {
          width: 18px;
          position: relative;
          top: -2px;
        }
      }
    }
    //快乐六合彩
    .happyLH {
      span {
        background: $colorRed;
        color: #fff;
        box-shadow: none;
        &.blue {
          background: $colorBlue;
        }
        &.red {
          background: $colorRed;
        }
        &.green {
          background: $colorGreen;
        }
        &.gray {
          background: $colorGray;
        }
        &:last-of-type {
          margin-left: 15px;
          overflow: visible;
          position: relative;
        }
        &:last-of-type:after {
          content: '+';
          position: absolute;
          left: -16px;
          top: 0;
          color: #666;
          font-size: 16px;
        }
      }
    }
  }
}
